import yaml

from autoTest_ceshopAdmin.utils.getPath import getPath


def readfile(filename):
    path = getPath(filename)
    with open(path,'r',encoding='utf-8') as f:
        return yaml.safe_load(f)

if __name__ == '__main__':
    print(readfile('login.yaml'))
